package com.adds.lvds.dao.impl.organize;

import java.util.List;
import java.util.Map;

import com.adds.lvds.model.organize.SysOrgInfo;
import com.adds.lvds.model.organize.SysUserInfo;

public interface SysUserInfoMapper {

	/**
	 * 批量删除成员
	 * @param emp_id
	 * @throws Exception
	 */
	public void batchDelUserInfoByEmpId(String[] ids) throws Exception;

	/**
	 * 编辑成员数据
	 * @param sysUserInfo
	 * @throws Exception
	 */
	public void updateUserInfo(SysUserInfo sysUserInfo) throws Exception;
	/**
	 * 批量数据修改
	 * @param ids
	 * @throws Exception
	 */
	public void updateUserInfoByMap(String[] ids)throws Exception;

	/**
	 * 单条录入成员数据
	 * @param sysUserInfo
	 * @throws Exception
	 */
	public void addUserInfo(SysUserInfo sysUserInfo) throws Exception;
	/**
	 * 批量插入成员数据
	 * @param sysUserInfo
	 * @throws Exception
	 */
	public void addBatchUserInfo(List<SysUserInfo> sysUserInfo)throws Exception;

	/**
	 * 根据条件查询成员数据
	 * @param map
	 * @return
	 * @throws Exception
	 */
	public List<SysUserInfo> findSysUserInfoByMap(Map<String, Object> map)
			throws Exception;
	/**
	 * 根据条件查询成员数据
	 * @param map
	 * @return
	 * @throws Exception
	 */
	public SysUserInfo querySysUserInfoByMap(Map<String, Object> map)
			throws Exception;
	/**
	 * 分页查询
	 * @param map
	 * @return
	 * @throws Exception
	 */
	public List<SysUserInfo> pageSysUserInfo(Map<String, Object> map)
			throws Exception;
	
	/**
	 * 根据emp_id获取部门数据
	 * 
	 * @param map
	 * @return
	 * @throws Exception
	 */
	public SysOrgInfo findSysOrgByEmpId(String emp_id) throws Exception;
	
	/**
	 * 根据emp_id Info获取信息
	 * @param emp_id
	 * @return
	 * @throws Exception
	 */
	public SysUserInfo getByInfoId(String emp_id)throws Exception;
	/**
	 * 清空表数据备份数据到备份表
	 */
	public void tuncateSysUserInfo();
	
	/**
	 * 根据查询条件获取所有值
	 * @param map
	 * @return
	 */
	public List<SysUserInfo> getSysUserInfoListByMap(Map<String,Object> map);
}
